/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package msgserver;

import java.rmi.RemoteException;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JWindow;

/**
 *
 * @author Данила
 */
public class MSGServerImpl {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws RemoteException {
        JFrame frame = new JFrame();
        RMIServer server = new RMIServer();
        JOptionPane.showMessageDialog(frame, "RMI Message server started with this address="+server.thisAddress+",port="+server.thisPort);
    }
}
